Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of OpenOCD for the Crosslink-NX #515

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

josuah
Copy link
Contributor

@josuah josuah commented Aug 2, 2023

This adds the support for Crosslink-NX EVN FTDI in JTAG mode, through OpenOCD.
This does not yet permit to use the JTAG for a serial connection with the bus (JTAGBone), as the JTAG instance is still not figured out, but hopefully I'll get there soon!

@josuah
Copy link
Contributor Author

josuah commented Aug 2, 2023

The result here:

litex@localhost:~/litex-boards/litex_boards$ targets/lattice_crosslink_nx_evn.py --programmer=openocd --load
[...]
IDCODE in bitstream is 0x110f1043
Open On-Chip Debugger 0.12.0+dev-00274-g7023deb06 (2023-07-28-15:14)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Warn : Transport "jtag" was already selected
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi tdo_sample_edge falling"
Info : clock speed 25000 kHz
Info : JTAG tap: crosslink_nx.tap tap/device found: 0x110f1043 (mfg: 0x021 (Lattice Semi.), part: 0x10f1, ver: 0x1)
Warn : gdb services need one or more targets defined
Info : DEPRECATED flag 'quiet'; use '-quiet'
Info : DEPRECATED flag 'progress'; use '-progress'
svf processing file: "/home/litex/litex-boards/litex_boards/build/lattice_crosslink_nx_evn/gateware/lattice_crosslink_nx_evn.svf"
95%
litex@localhost:~/litex-boards/litex_boards$

@josuah josuah force-pushed the crosslink_nx_openocd branch 2 times, most recently from 8eb46a2 to 8172a30 Compare August 8, 2023 21:24
@enjoy-digital enjoy-digital merged commit 4862d06 into litex-hub:master Aug 28, 2023
1 check passed
@enjoy-digital
Copy link
Member

Thanks @josuah, this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants